import axios from './index'
export function login(){
    return axios.get("/reactapi/captcha/api/math")
}
export function common(key:string,captcha:string){
    return axios.post("/api/common/captcha/verify",{key,captcha})
}
export function auth(captcha:string,key:string,username:string,password:string){
    return axios.post("/api/common/auth/login",{captcha,key,username,password})
}
